WooCommerce\PayPalCommerce\Settings\Handler\ConnectionListener S

Total Complexity 39
Dependencies 9
Dependents 1
Total lines 343
Lines of code 128
Logical lines of code 79
Comment lines 132
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
process_oauth_token()
A
47 7 35
is_valid_request()
S
58 6 15
get_token_state()
S
66 6 7
get_seller_type_from_request()
S
63 3 11
extract_data()
S
63 3 10
__construct()
S
68 2 7
process()
S
64 2 10
set_token_state()
S
74 1 4
is_token_processing()
S
79 1 3
was_token_processed()
S
79 1 3
redirect_after_authentication()
S
74 1 5
get_token_from_request()
S
78 1 3
get_merchant_id_from_request()
S
78 1 3
get_merchant_email_from_request()
S
78 1 3
sanitize_string()
S
79 1 3
sanitize_merchant_email()
S
78 1 3
get_onboarding_redirect_url()
S
78 1 3